package com.xzr.controller;

import com.xzr.Service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author：jojo
 * @Date：2022/2/14 19:16
 * @Description :TODO
 */
@RestController
@RequestMapping("/abc")
public class TestController {
    @Autowired
    TestService testService;
    @RequestMapping("/a")
    public String findAll(){
        System.out.println(testService.findALL());
        return "1";
    }
}
